package ${package.Service};

import ${package.Entity}.${entity};
import java.io.Serializable;
import com.tgpms.common.Result;

/**
 * <p>
 * ${table.comment!} 服务类
 * </p>
 *
 * @author ${author}
 * @since ${date}
 */
<#if kotlin>
interface ${table.serviceName} : ${superServiceClass}<${entity}>
<#else>
public interface ${table.serviceName}{

	/**
		新增${table.comment!}
	*/
	Result<String> add${entity}(${entity} en);
	
	/**
		更新${table.comment!}
	*/
	Result<String> update${entity}(${entity} en);
	
	/**
		根据主键id删除${table.comment!}
	*/
	Result<String> delete${entity}(Serializable id);
}
</#if>